﻿using SelfManagement.Database.POCO;
using SelfManagement.IServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SelfManagement.Services
{
    public class SeniorService : BaseService<Senior>, ISeniorService
    {
        public Senior GetSeniorByName(string id)
        {
            return Query(s => s.Id == id).FirstOrDefault();
        }
    }
}
